{extend name="common/index" /}

{block name="content-wrapper"}
<style>
    /*修改bootstrap表格边框颜色*/
    .table-bordered th,
    .table-bordered td {
        border: 1px solid #bbb !important;
        text-align:center;
        font-size:16px;
    }
</style>

<section class="content-header">
    <h1>
        <a href="{:url('index/index/full_member_data')}" target="_blank">会员数据</a>
        <small>member data</small>
    </h1>
</section>
<section class="content container-fluid">
    <table class="table table-hover table-bordered">
        <tr>
            <td class="col-md-1">会员用户</td>
            <td class="col-md-1">联系方式</td>
            <td class="col-md-2">注册时间</td>
            <td class="col-md-2.5">订单商家</td>
            <td class="col-md-1.5">最近一次订单金额（元）</td>
            <td class="col-md-2">最近一次下单时间</td>
            <td class="col-md-2">最近一次付款时间</td>
        </tr>
        {volist name='res' id='val'}
        <tr>
            <td>{$val['user']}</td>
            <td>{$val['phone']}</td>
            <td>{$val['zhuce_time']}</td>
            <td>
                <?php
					echo '****'.str_replace(mb_substr($val['store_name'],0,2,'utf-8'),'',$val['store_name']);
				?>
            </td>
            <td>{$val['order_price']}</td>
            <td>{$val['order_time']}</td>
            <td>{$val['pay_time']}</td>
        </tr>
        {/volist}
    </table>
    <div>
        <span style="float:left;margin-top:20px;font-size: 16px;">
            总计会员数：{$count}
        </span>
        <span style="float:right;">
            {$page}
        </span>
    </div>
</section>
{/block}

{block name="introduce-js"}
<script>

</script>
{/block}
